import http from "@/utils/http";

// 内测获取手机号接口
export function loginWxMinSimple(phoneNumber) {
    return http({
        url: "/login/wxMin/simple",
        method: "post",
        data: { phoneNumber }
    })
}

// 获取登录个人信息
export const getMemberProfile = () => {
    return http({ url: '/member/profile' })
}

// 修改个人信息
export const putMemberProfile = (data) => {
    return http({
        url: '/member/profile',
        method: 'put',
        data
    })
} 